﻿#include "FITKRadiossResultRequest.h"

namespace Radioss
{
    FITKRadiossResultRequest::FITKRadiossResultRequest()
    {
        _nodalAnims << NodalOutputAnimationsType::Nodal_Displacement << NodalOutputAnimationsType::Nodal_Velocity << NodalOutputAnimationsType::Nodal_Acceleration;
        _elementalAnims << ElementalOutputAnimationsType::Elemental_Stress << ElementalOutputAnimationsType::Elemental_SpecificEnergyDensity;
    }

    FITKRadiossResultRequest::~FITKRadiossResultRequest()
    {
    }

    void FITKRadiossResultRequest::setStartTime(const double time)
    {
        _startTime = time;
    }

    double FITKRadiossResultRequest::getStartTime() const
    {
        return _startTime;
    }

    void FITKRadiossResultRequest::setFrequency(const double f)
    {
        _frequency = f;
    }

    double FITKRadiossResultRequest::getFrequency() const
    {
        return _frequency;
    }

    void FITKRadiossResultRequest::setNodalOutputAnim(QList<NodalOutputAnimationsType> anim)
    {
        _nodalAnims = anim;
    }

    QList<FITKRadiossResultRequest::NodalOutputAnimationsType> FITKRadiossResultRequest::getNodalOutputAnim()
    {
        return _nodalAnims;
    }

    void FITKRadiossResultRequest::setElementalOutputAnim(QList<ElementalOutputAnimationsType> anim)
    {
        _elementalAnims = anim;
    }

    QList<FITKRadiossResultRequest::ElementalOutputAnimationsType> FITKRadiossResultRequest::getElementalOutputAnim()
    {
        return _elementalAnims;
    }

} // namespace Radioss

